#!/usr/bin/python

#go to timestamp directory
os.chdir(timestamp)

sbp.call(['python', 'get_trajectory.py', str(idx)])
